package com.berkeley.db.berkeleydb;

import com.sleepycat.persist.model.Entity;
import com.sleepycat.persist.model.PrimaryKey;


@Entity
public class CarScore {
	@PrimaryKey
	private String carId;
	private String name;

	public String getCarId() {
		return carId;
	}

	public void setCarId(String carId) {
		this.carId = carId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "CarScore{" +
				"carId='" + carId + '\'' +
				", name='" + name + '\'' +
				'}';
	}
}
